
<!DOCTYPE html>
<html>

<head>
   
    
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!--360浏览器优先以webkit内核解析-->


<title>导购岗位管理</title>

<link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
<link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="__STATIC__/layout/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
<link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
<link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
<link href="__STATIC__/layout/css/channel.css?v=4.1.0" rel="stylesheet">
<!-- Sweet Alert -->
<link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">


    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <style>
   
    </style>

</head>

<body class="white-bg" style="padding: 3px;">
    <div class="page-heade">
       <h2 class="title_color text-center">导购岗位管理</h2>
    </div>
    <form action="" class="form-inline" id="form1">
        <table class="table table-bordered bud_hei" style="margin-bottom: 0">
            <tr>
                <td colspan="9"><a href="javascript:;" class="btn btn-sm btn-primary" id="addguidegw">添加导购岗位</a><span class="lr_5"></span><a href="{:url('Other/lendguidegw')}" class="btn btn-sm btn-info">导入导购岗位</a><span class="lr_5"></span><a href="javascript:;" class="btn btn-sm btn-info">导出Excel</a><span class="lr_5 colorRed">注：本功能用于导购员选择岗位之用。</span></td>
            </tr>
        </table>
</form>
    <table class="table table-striped table-bordered table-hover bud_hei text-center">
        <tr class="info">
            <th class="text-center">No.</th>
            <th class="text-center">导购岗位名称</th>
            <th class="text-center">创建人</th>
            <th class="text-center">创建时间</th>
            <th class="text-center">修改人</th>
            <th class="text-center">修改时间</th>
            <th class="text-center">维护</th>
        </tr>
        <tbody style="border: 0">
            <tr>
                <td>1</td>
                <td>导购员</td>
                <td>系统管理员</td>
                <td>2015-10-22 17:49</td>
                <td></td>
                <td></td>
                <td><a href="javascript:;" class="modify">修改</a>&nbsp;<a href="javascript:;" class="delthis">删除</a></td>
            </tr>
             <tr>
                <td>2</td>
                <td>导购主管</td>
                <td>系统管理员</td>
                <td>2015-10-22 17:49</td>
                <td></td>
                <td></td>
                <td><a href="javascript:;" class="modify">修改</a>&nbsp;<a href="javascript:;" class="delthis">删除</a></td>
            </tr>
             <tr>
                <td>3</td>
                <td>兼职</td>
                <td>管理员</td>
                <td>2015-10-22 17:49</td>
                <td></td>
                <td></td>
                <td><a href="javascript:;" class="modify">修改</a>&nbsp;<a href="javascript:;" class="delthis">删除</a></td>
            </tr>
    </tbody>
    </table>
    <h5 class="text-center"  style="font-size: 13px;font-weight: 500">
                    总共有12条记录，第1/2页,当前页<input id="page" type="text"  style="width: 40px" value="1"/><span id="gopage">Go</span>&nbsp;&nbsp;<span id="fistpage">首页</span>&nbsp;&nbsp;
                    每页显示
                    <select id="pagesize">
                        <option value='10' selected>10条</option>
                        <option value='15'>15条</option>
                        <option value='20'>20条</option>

                    </select>
                </h5>


<div id="addlaborcontractDiv" class="ibox-content" style="display: none;">
    <form action="" class="form-inline">
        <table class="table table-bordered">
            <tr>
                <td style="width: 140px" class="text-center">导购岗位名称<span class="colorRed">*</span></td>
                <td><input type="text" class="form-control" name="">(导购岗位名称不能重复)</td>
            </tr>
            <tr>
              <td class="text-center">显示次序<span class="colorRed">*</span></td>
              <td><input type="text" class="form-control" name=""></td>
            </tr>
        </table>
    </form>
</div>

<!-- 全局js -->
<script src="__STATIC__/layout/js/jquery.min.js"></script>
<script src="__STATIC__/layout/js/contabs_sub.js"></script>
<script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
<!-- Sweet alert -->
<script src="__STATIC__/layout/js/plugins/sweetalert/sweetalert.min.js"></script>
 <script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
 <script src="__STATIC__/layout/js/plugins/suggest/bootstrap-suggest.min.js"></script>

  <script src="__STATIC__/layout/js/contabs_sub.js"></script>
<script>
    $(function () {
        $('body').on('click','input[type=text]',function () {
            this.select()
        })
    })
</script>
<script src="__STATIC__/layout/js/plugins/layer/layer.min.js"></script>
<script>
    
 $("#addguidegw").click(function(){
     layer.open({
                           type: 1,
                           title: '导购岗位管理',
                           area: ['900px', '600px'],
                           fixed: false, //不固定
                           maxmin: true,
                           btn:["提交","返回"],
                           content: $('#addlaborcontractDiv')
                        /*   yes: function (i, o) {
                               var param = $('#form1').serialize()
                           $.post('/index/workflowdb/ysfy_cg.html', param, function (data) {
                               if (data.success) {
                                   swal({title: data.msg}, function () {
                                       layer.close(i)
                                       location.reload()
                                   })
                               } else {
                                   swal(data.msg)
                               }
                           }, 'json')
                       }
*/
                    });


 })
  $(document).ready(function () {
        $('#reset').on('click',function () {
            $("#form1 input").each(function(){
                $(this).val('');
            });
            $("#form1 select").each(function(){
                $(this).val('');
            });
            $('#form1').submit()
            return false
        })

       
    })   

/*返回*/
    $('#fanhui').on('click',function () {
                   // parent.layer.close(parent.layer.getFrameIndex(window.name))
                   location.reload();
                    return false
                })
/*修改*/
$(document).on("click",".modify",function(){
    layer.open({
                           type: 1,
                           title: '修改导购岗位',
                           area: ['900px', '600px'],
                           fixed: false, //不固定
                           maxmin: true,
                           btn:["确认修改","返回"],
                           content: $('#addlaborcontractDiv')
                        /*   yes: function (i, o) {
                               var param = $('#form1').serialize()
                           $.post('/index/workflowdb/ysfy_cg.html', param, function (data) {
                               if (data.success) {
                                   swal({title: data.msg}, function () {
                                       layer.close(i)
                                       location.reload()
                                   })
                               } else {
                                   swal(data.msg)
                               }
                           }, 'json')
                       }
*/
                    });

})
/*删除*/

      $(document).on("click",".delthis",function(){
      swal({ 
          title: "确定此操作吗？", 
          text: "", 
          type: "warning",
          showCancelButton: true, 
          confirmButtonColor: "#DD6B55",
          confirmButtonText: "确定！", 
          closeOnConfirm: false
      },
      function(){
        swal("", "", "success"); 
      });
})
 
</script>
</body>

</html>